package org.jeecg.modules.basic.demo.school.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class LwgyBaseSchool implements Serializable {

    private String memo;

    private String id;

    private String name;

    private String createBy;

    private Date createTime;

    private String updateBy;

    private Date updateTime;

    private String sysOrgCode;

    private String pid;

    private String hasChild;

    private String universityCode;

    private String universitySort;

    private String type;


    private String logoColor;

    private String delFlag;
    @TableField(exist = false)
    private String ids;

    @TableField(exist = false)
    private boolean existFlag;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date openTime;
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date endTime;


     @TableField(exist = false)
     private String classId;
     @TableField(exist = false)
     @Excel(name = "班级", width = 15)
     private String className;
     @TableField(exist = false)
     private String majorId;
     @TableField(exist = false)
     @Excel(name = "专业", width = 15)
     private String majorName;
     @TableField(exist = false)
     private String gradeId;
     @TableField(exist = false)
     @Excel(name = "年级", width = 15)
     private String gradeName;
     @TableField(exist = false)
     private String facultyId;
     @TableField(exist = false)
     @Excel(name = "学院", width = 15)
     private String facultyName;
     @TableField(exist = false)
     private String campusId;
     @TableField(exist = false)
     @Excel(name = "校区", width = 15)
     private String campusName;

    @TableField(exist = false)
    private String scaleBatches;
    @TableField(exist = false)
    private String schoolYear;
}
